package org.linlinjava.litemall.db.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lumiere_shop_material_approval_review")
public class LumiereShopMaterialApprovalReview {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer shopId;

    private String shopName;
    private Integer review;

    private String serialNumber;

    /**
     * 名字
     */
    private String remark;
    /**
     * 删除
     */
    @TableLogic
    private Boolean deleted;

    @TableField(fill = FieldFill.INSERT) //插入时自动填充
    private LocalDateTime addTime;

    @TableField(fill = FieldFill.UPDATE) // 插入 和 更新时 自动填充
    private LocalDateTime updateTime;

    /**
     * 添加用户id
     */
    private Integer addUserId;

    /**
     * 更新用户id
     */
    private Integer updateUserId;
}
